<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{% macro input(name,value='',type='text') %}
    <input type="{{ type }}" value="{{ value }}" name="{{ name }}">
{% endmacro %}

{% macro textarea(name,value='',rows=10,cols=40) %}
    <textarea name="{{ name }}" rows="{{ rows }}" cols="{{ cols }}">value="{{ value|e }}"</textarea>
{% endmacro %}
</body>
</html>